package com.htu.courseService.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.htu.courseService.user.vo.UserDTO;
import com.htu.courseService.user.vo.UserPasswordDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface UserService {
    List<String> uploadExcel(MultipartFile multipartFile) throws IOException;

    void registerUser(UserDTO userDTO);

    void uploadPassword(UserPasswordDto userPasswordDto);

    IPage<UserDTO> getUserPage(int pageNum, int pageSize, String username, String email);

    void deleteUser(Integer id);

    void updateUser(UserDTO userDTO);

    UserDTO getUserDetail(Long id);
}
